﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace FDSimpleModelGenerator.Common
{
    /// <summary>
    /// 文件工具
    /// </summary>
    public class FileSystemUtil
    {
        /// <summary>
        /// 不存在则创建目录
        /// </summary>
        /// <param name="path"></param>
        public static void CreateIfDirNotExists(string path)
        {
            if (!Directory.Exists(path))
            {
                Directory.CreateDirectory(path);
            }
        }
    }
}
